package cn.highset.modules.base.service;

import cn.highset.base.HighsetBaseService;
import cn.highset.common.vo.SearchVo;
import cn.highset.modules.base.entity.VisitTime;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 参观时间接口
 *
 * @author Victor
 */
public interface VisitTimeService extends HighsetBaseService<VisitTime, String> {

    /**
     * 多条件分页获取
     *
     * @param visitTime
     * @param searchVo
     * @param pageable
     * @return
     */
    Page<VisitTime> findByCondition(VisitTime visitTime, SearchVo searchVo, Pageable pageable);

    /**
     * 小程序获取列表
     *
     * @return
     */
    List<VisitTime> getList();
}
